<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>

	<body>
		<h1>jquery 的 attr 和 prop 对 checkbox 的影响</h1>
		<input type="checkbox" id="ckbox" />
		<hr /> checkbox标签的状态：
		<p id="result" style="border: 1px dotted lightskyblue;"></p>
		checkbox选中状态：
		<p id="state"></p>
		<hr />
		<input type="button" name="" id="btn1" value="prop checked" />
		<input type="button" name="" id="btn2" value="prop unchecked" />
		<input type="button" name="" id="btn3" value="attr checked" />
		<input type="button" name="" id="btn4" value="attr unchecked" />
		<script src="../scripts/lib/require.js" data-main="../scripts/require.config.js"></script>
		<script src="index.js"></script>
	</body>

</html>